﻿namespace Jhong.FunMVCBlog.Core.Entity
{
    using Jhong.Data.Core;
    using Jhong.FunMVC;
    using Jhong.FunMVCBlog.Core.Enum;
    using System;

    [Table("articles"), ViewModel]
    public class Articles
    {
        [Column("ID",Key=true,AutoIncrement=false)]
        public Guid ID { get; set; }

        public string Title { get; set; }

        public string Content { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime LastModifyTime { get; set; }

        public Guid CategoryID { get; set; }

        public DeleteStatus IsDelete { get; set; }

        public PublishStatus IsPublist { get; set; }

        public TopStatus IsTop { get; set; }

        public string Summary { get; set; }

        public DateTime PublishTime { get; set; }

    }
}